package com.kantboot.business.shop.service.impl;

import com.kantboot.business.shop.domain.entity.BusShopGoodsType;
import com.kantboot.business.shop.repository.BusShopGoodsTypeRepository;
import com.kantboot.business.shop.service.IBusShopGoodsTypeService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BusShopGoodsTypeServiceImpl implements IBusShopGoodsTypeService {

    @Resource
    private BusShopGoodsTypeRepository repository;

    @Override
    public List<BusShopGoodsType> getAll() {
        return repository.findAll();
    }
}
